< previous page page_33 next page >

Page 33
Immediate or Debug Window
The Immediate window (sometimes called the Debug window) is normally only viewed in break mode. Break mode is entered when youre debugging an application. In this window, you can perform math operations, print the values of variables, assign values to variables, and even call procedures. Youll learn more about this window in Chapter 16, The Debugger.
Form Layout Window
The Form Layout window helps you size your form to fit a certain monitor size as well as helps you determine where on the screen the form will be displayed. When you move a form in this window, the Left and Top properties of the form are automatically set at that location on the screen. In addition, if youre developing on a monitor with the resolution set to 1024×768, you may need to make sure a user with a resolution of 800×600 can still view the form correctly. If you right-click the Form Layout window, you can choose Resolution Guides from the pop-up menu. These guides show you the different resolutions so you can determine whether your form will fit within a given resolution.
Online Help
You can press F1 at any time to receive help on Visual Basic. The online Help system is context sensitivethat is, it gives you help on the object that currently has focus in the design mode. The Help system in Visual Basic is actually quite good. You should plan on spending a lot of time in it as youre learning Visual Basic.
From the Help menu, you can search for any topic from a list of suggested topics. You can also access Visual Basics Books Online. Books Online contains all the printed documentation for Visual Basic in an electronic format. You can jump directly to the Microsoft Web site on the Internet for late-breaking topics and updates to the Visual Basic language.
Visual Basic First-time Setup
Before using Visual Basic for the first time, you should set a few options that will remain constant throughout your development process. In other words, the options presented here will remain in effect after you set them. These options can be set by choosing the Tools, Options menu, which will present the dialog box shown in Figure 2.2. You wont understand all these options at this point, but its important

 
< previous page page_33 next page >

If you like this book, buy it!